// [[ OnflowGenerator File UUID: 94957505fd8b4a8fb055b94ba1c1686d  ]]
package com.itdct.onflow.system.log.vo

import com.itdct.onflow.core.annotation.Dict
import com.itdct.onflow.core.vo.BaseDetailVo
import io.swagger.v3.oas.annotations.media.Schema
import java.math.BigDecimal
import java.util.*

/**
 * @author DCTANT
 * @date 2025-09-23 15:03:31
 * @version 1.0
 * @description 系统重要接口访问日志详情返回值
 */
@Schema(name = "系统重要接口访问日志详情返回值", description = "系统重要接口访问日志详情返回值")
class SysImportantApiLogDetailVo : BaseDetailVo() {
    // [[ OnflowGenerator Range (- fields -) Start ]]
    @Schema(title = "账号id", example = "")
    var accountId: Long? = null

    @Schema(title = "账号id对应值", example = "")
    var accountIdName: String? = null

    @Schema(title = "请求时间", example = "")
    var requestTime: Date? = null

    @Schema(title = "响应时间", example = "")
    var responseTime: Date? = null

    @Schema(title = "处理时间", example = "")
    var handleTime: BigDecimal? = null

    @Schema(title = "实例id", example = "")
    var instanceId: String? = null

    @Schema(title = "接口地址", example = "")
    var url: String? = null

    @Schema(title = "接口id", example = "")
    var apiId: Long? = null

    @Schema(title = "接口id对应值", example = "")
    var apiIdName: String? = null

    @Schema(title = "返回码", example = "")
    var returnCode: Int? = null

    @Schema(title = "来源ip", example = "")
    var sourceIp: String? = null

    @Schema(title = "平台类型", example = "")
    @Dict(code = "platformType", field = "platformTypeName")
    var platformType: String? = null

    @Schema(title = "平台类型字典映射值", example = "")
    var platformTypeName: String? = null

    @Schema(title = "失败原因", example = "")
    var failReason: String? = null

    @Schema(title = "请求参数", example = "")
    var requestBody: String? = null

    @Schema(title = "返回参数", example = "")
    var responseBody: String? = null

    @Schema(title = "创建时间", example = "")
    var createTime: Date? = null

    @Schema(title = "更新时间", example = "")
    var updateTime: Date? = null

// [[ OnflowGenerator Range (- fields -) End ]]
}